package com.server.common.utils;import java.util.UUID;import org.junit.Test;/** * 获取UUID工具类 *  * @author JJ * */public class UUIDUtils {	/**	 * 获取UUID字符串	 * 	 * @return	 */	public static String getUUID() {		return UUID.randomUUID().toString().replaceAll("-", "");	}	@Test	public void test() {		for (int i = 0; i < 4; i++) {			System.out.println(getUUID().substring(0, 16));		}	}}